<?php

namespace App\Http\Controllers\Admin;

use Illuminate\Http\Request;
use App\Http\Requests;
use App\Http\Controllers\Controller;

class IndexController extends Controller
{
    public function index()
    {
        return view('welcome');
    }

    public function login()
    {
        session(['admin'=>1]);
        return '<h1>namespace 登陆</h1>';
    }
}
